package cn.edu.ujn.lab3.service;

import java.util.List;

import cn.edu.ujn.lab3.dao.BaseDict;
import cn.edu.ujn.lab3.utils.Page;


public interface BaseDictService {
    int deleteByPrimaryKey(int dictId);

    int insert(BaseDict row);

    int insertSelective(BaseDict row);

    BaseDict selectByPrimaryKey(int dictId);

    int updateByPrimaryKeySelective(BaseDict row);

    int updateByPrimaryKey(BaseDict row);
	//根据类别代码查询数据字典
	public List<BaseDict> findBaseDictByTypeCode(String typecode);	
	
	public List<BaseDict> selectAll();
	
    public List<BaseDict> selectBaseDictList(BaseDict baseDict);
    
    public Integer selectBaseDictListCount(BaseDict baseDict);
    
    public Page<BaseDict> findBaseDictList(Integer page, Integer rows, 
            String baseDictName,String baseDictTypeName,String basedictTypeCode);
}
